<div id="in_konten">
<div class="flowNav"><p><?php echo $cumb;?></p></div>                         
<h2>Check Out Member</h2>
<strong>Selamat Order berhasil, berikut detail order anda</strong>
		
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="shoppingTable">
 <tbody>
<tr>
    <td width="20%"><strong>Waktu Order</strong></td>
    <td width="80%"><?php echo $order->order_date;?></td>
  </tr>
  <tr>
    <td width="20%"><strong>Nama</strong></td>
    <td width="80%"><?php echo $order->nama;?></td>
  </tr>
  <tr>
    <td width="13%"><strong>Telepon</strong></td>
    <td width="87%"><?php echo $order->telp;?></td>
  </tr>
  <tr>
    <td width="13%"><strong>Mobile Phone</strong></td>
    <td width="87%"><?php echo $order->hp;?></td>
  </tr>
  <tr>
    <td width="13%"><strong>Email</strong></td>
    <td width="87%"><?php echo $order->email;?></td>
  </tr>
  <tr>
    <td width="13%"><strong>Alamat Kirim</strong></td>
    <td width="87%"> <?php echo $order->alamat ?>,<?php echo $order->kota?>,<?php echo $order->nama_kabupaten?>,<?php echo $order->nama_provinsi?>,<?php echo $order->kodepos?></td>
  </tr>
    <tr>
    <td width="13%"><strong>Rekening</strong></td>
    <td width="87%"> <?php echo $order->nama_rek ?> - <?php echo $order->nama_bank?> - <?php echo $order->no_rek ?></td>
  </tr>
   <tr>
    <td width="13%"><strong>Jasa Pengiriman</strong></td>
    <td width="87%"><?php echo $order->log_nama;?></td>
  </tr>
   <tr>
    <td width="13%"><strong>Order Code</strong></td>
    <td width="87%"><?php echo $order->order_code;?></td>
  </tr>

</tbody>
</table>		
<br />
<br />
<h2>Detail Order</h2>
<table border="0" cellpadding="0" cellspacing="0" class="shoppingTable">
					<tr class="cart_title">
						<th style="width:180px">Produk</td>
						<th style="width:100px;text-align:right;">Harga Per Unit</td>
						<th style="width:10px;text-align:center;">Jumlah</td>
						<th style="width:130px;text-align:right;">Sub Total</td>  
					</tr>
					<tr>
					<?php foreach($det_order as $det_order):?>
						<tr>
						<td class="isi_tab"><?php echo $det_order['nama_produk']; ?></td>
							<?php if($det_order['diskon'] != 0):?>
								<td style="text-align:right;"><?php echo formatHarga($det_order['harga_baru'], 'lengkap');?></td>
							<?php else:?>
								<td style="text-align:right;"><?php echo formatHarga($det_order['harga'], 'lengkap');?></td>
							<?php endif;?>
							<td style="text-align:center;"><?php echo $det_order['det_jml']; ?></td>
							<td style="text-align:right;"><?php echo formatHarga($det_order['det_subtotal'], 'lengkap');?></td>
						
						</tr>
					<?php endforeach; ?>   
					</tr>            
					<tr>
						<td colspan="4" class="cart_total"><span class="red">Jasa Kirim: </span></td>
						<td style="text-align:right;"><?php echo formatHarga($order->log_biaya,'lengkap')?></td>                   
					</tr> 
					<tr>
						<td colspan="4" class="cart_total"><span class="red">TOTAL: </span></td>
						<td style="background-color:#FFC;text-align:right;"><?php echo formatHarga($order->total,'lengkap')?></td>                   
					</tr>    
				</table>
				
		<input name="simpan" class="submit" value="Print" type="submit" onclick="window.open('<?php echo base_url().'order/cetak/'.$key_order?>')">
	

	</div>   
	<br />
	<br />
	<br />

